﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace Milan.Translate
{
	/// <summary>
	/// Creates a substitution from one block of words to another
	/// </summary>
	public class Substitute
	{
		[StringLength(5)]
		public string SourceLanguage { get; set; }
		[StringLength(5)]
		public string DestinationLanguage { get; set; }
		[StringLength(50)]
		public string Context;
		public string Source { get; set; }
		public int SourceHash { get; set; }
		public string Destination { get; set; }
	}
}
